DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

D.13.1 StructureDefinition: DAF-MedicationStatement

The official URL for this profile is:

http://hl7.org/fhir/StructureDefinition/daf-medicationstatement

Defines constraints and extensions on the MedicationStatement resource for use in querying and retrieving patient's medication information.

This profile was published on Thu, Aug 21, 2014 00:00+1000 as a draft by Health Level Seven International (Infrastructure and Messaging - Data Access Framework).

D.13.1.1 Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from MedicationStatement.

Summary

Mandatory: 1 element (+1 nested mandatory element)
Must-Support: 14 elements

Structures

This structure refers to these other structures:

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement I0..*MedicationStatementRecord of medication being taken by a patient
mst-2: Reason for use is only permitted if wasNotTaken is false
mst-1: Reason not taken is only permitted if wasNotTaken is true
... meta 0..1MetaMetadata about the resource
... implicitRules ?! 0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: IETF BCP-47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S 0..*IdentifierExternal identifier
... patient S 1..1Reference(DAF-Patient)Who is/was taking the medication
... informationSource S 0..1Reference(DAF-Pract | DAF-Patient | DAF-RelatedPerson)
... dateAsserted 0..1dateTimeWhen the statement was asserted?
... status ?! 1..1codeactive | completed | entered-in-error | intended
Binding: MedicationStatementStatus (required)
... wasNotTaken ?! S0..1booleanTrue if medication is/was not being taken
... reasonNotTaken S I0..1CodeableConceptTrue if asserting medication was not given
Binding: Reason Medication Not Given Codes (example)
... reasonForUse[x] 0..1CodeableConcept, Reference(Condition)Binding: Condition/Problem/Diagnosis Codes (example)
... effectivePeriod S 0..1PeriodOver what period was medication consumed?
... note 0..1stringFurther information about the statement
... supportingInformation 0..*Reference(Resource)Additional supporting information
... medication[x] 1..1CodeableConcept, Reference(Medication)What medication was taken
... dosage S 0..*BackboneElementDetails of how medication was taken
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... text 0..1stringReported dosage information
.... timing S 0..1TimingWhen/how often was medication taken
.... asNeeded[x] 0..1boolean, CodeableConceptTake "as needed" (for x)
Binding: (unbound) (example)
.... siteCodeableConcept S 0..1CodeableConceptWhere (on body) medication is/was administered
Binding: Vaccine Administered Body Site (preferred)
.... route S 0..1CodeableConceptHow the medication entered the body
Binding: Medication Route FDA Value Set (preferred)
.... method 0..1CodeableConceptTechnique used to administer medication
Binding: (unbound) (example)
.... quantity[x] S 0..1SimpleQuantity, RangeAmount administered in one dose
.... rate[x] S 0..1Ratio, RangeDose quantity per unit of time
.... maxDosePerPeriod S 0..1RatioMaximum dose that was consumed per unit of time

doco Documentation for this format

todo

This structure is derived from MedicationStatement.

Summary

Mandatory: 1 element (+1 nested mandatory element)
Must-Support: 14 elements

Structures

This structure refers to these other structures:

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement I0..*MedicationStatementRecord of medication being taken by a patient
mst-2: Reason for use is only permitted if wasNotTaken is false
mst-1: Reason not taken is only permitted if wasNotTaken is true
... meta 0..1MetaMetadata about the resource
... implicitRules ?! 0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: IETF BCP-47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S 0..*IdentifierExternal identifier
... patient S 1..1Reference(DAF-Patient)Who is/was taking the medication
... informationSource S 0..1Reference(DAF-Pract | DAF-Patient | DAF-RelatedPerson)
... dateAsserted 0..1dateTimeWhen the statement was asserted?
... status ?! 1..1codeactive | completed | entered-in-error | intended
Binding: MedicationStatementStatus (required)
... wasNotTaken ?! S0..1booleanTrue if medication is/was not being taken
... reasonNotTaken S I0..1CodeableConceptTrue if asserting medication was not given
Binding: Reason Medication Not Given Codes (example)
... reasonForUse[x] 0..1CodeableConcept, Reference(Condition)Binding: Condition/Problem/Diagnosis Codes (example)
... effectivePeriod S 0..1PeriodOver what period was medication consumed?
... note 0..1stringFurther information about the statement
... supportingInformation 0..*Reference(Resource)Additional supporting information
... medication[x] 1..1CodeableConcept, Reference(Medication)What medication was taken
... dosage S 0..*BackboneElementDetails of how medication was taken
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... text 0..1stringReported dosage information
.... timing S 0..1TimingWhen/how often was medication taken
.... asNeeded[x] 0..1boolean, CodeableConceptTake "as needed" (for x)
Binding: (unbound) (example)
.... siteCodeableConcept S 0..1CodeableConceptWhere (on body) medication is/was administered
Binding: Vaccine Administered Body Site (preferred)
.... route S 0..1CodeableConceptHow the medication entered the body
Binding: Medication Route FDA Value Set (preferred)
.... method 0..1CodeableConceptTechnique used to administer medication
Binding: (unbound) (example)
.... quantity[x] S 0..1SimpleQuantity, RangeAmount administered in one dose
.... rate[x] S 0..1Ratio, RangeDose quantity per unit of time
.... maxDosePerPeriod S 0..1RatioMaximum dose that was consumed per unit of time

doco Documentation for this format

XML Template

JSON Template

todo

 

Other representations of profile: Schematron

D.13.1.2 Terminology Bindings

PathNameConformanceValueSet
MedicationStatement.language?extrequiredhttp://tools.ietf.org/html/bcp47
MedicationStatement.statusMedicationStatementStatusrequiredMedicationStatementStatus
MedicationStatement.reasonNotTakenReason Medication Not Given CodesexampleReason Medication Not Given Codes
MedicationStatement.reasonForUse[x]Condition/Problem/Diagnosis CodesexampleCondition/Problem/Diagnosis Codes
MedicationStatement.dosage.asNeeded[x]?extexample
MedicationStatement.dosage.siteCodeableConceptVaccine Administered Body SitepreferredVaccine Administered Body Site
MedicationStatement.dosage.routeMedication Route FDA Value SetpreferredMedication Route FDA Value Set
MedicationStatement.dosage.method?extexample

D.13.1.3 Constraints

IdPathDetailsRequirements
mst-2MedicationStatementReason for use is only permitted if wasNotTaken is false
XPath: not(exists(*[starts-with(local-name(.), 'reasonForUse')]) and f:wasNotTaken/@value=true())
mst-1MedicationStatementReason not taken is only permitted if wasNotTaken is true
XPath: not(exists(f:reasonNotTaken) and f:wasNotTaken/@value=false())
.